﻿Imports System.Data
Imports System.Data.OleDb
Imports DAO
Imports DTO

Public Class VeBus     Shared dao As New VeDao

    Public Shared Function LayDanhSachVe() As DataTable
        Return dao.LayDanhSachVe()
    End Function

    Public Shared Function TimVe(ByVal ve As VeDto) As DataTable
        Return dao.TimVe(ve)
    End Function

    Public Shared Function TimVeTheoMaLichGan(ByVal maLichGan As Integer) As DataTable
        Return dao.TimVeTheoMaLichGan(maLichGan)
    End Function

    Public Shared Function ThemVe(ByVal ve As VeDto) As Integer
        Return dao.ThemVe(ve)
    End Function

    Public Shared Function CapNhatVe(ByVal ve As VeDto) As Integer
        Return dao.CapNhatVe(ve)
    End Function

    Public Shared Function XoaVe(ByVal maCanXoa As Long) As Integer
        'Return dao.XoaVe(maCanXoa)
    End Function


End Class
